package com.yhp.bean;

import java.sql.Date;
import java.util.logging.Logger;

//bean:属性，封装方法，无参构造，全参构造
//​ 表名=类名 ，列名=属性名
public class Student {
    private Integer stuid;
    private String stuname;
    private String stuno;
    private Integer sex;
    private Long phone;
    private String email;

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    private String registered;
    private String address;
    private String profession;
    private Long idnumber;
    private String politics;
    private Date regdate;
    private Integer state;
    private String introduction;
    private Integer gid;
    private String grade;

    public Student() {
    }

    public Student(Integer stuid, String stuname, String stuno, Integer sex, Long phone, String email, String registered, String address, String profession, Long idnumber, String politics, Date regdate, Integer state, String introduction, Integer gid, String grade) {
        this.stuid = stuid;
        this.stuname = stuname;
        this.stuno = stuno;
        this.sex = sex;
        this.phone = phone;
        this.email = email;
        this.registered = registered;
        this.address = address;
        this.profession = profession;
        this.idnumber = idnumber;
        this.politics = politics;
        this.regdate = regdate;
        this.state = state;
        this.introduction = introduction;
        this.gid = gid;
        this.grade = grade;
    }

    public Integer getStuid() {
        return stuid;
    }

    public void setStuid(Integer stuid) {
        this.stuid = stuid;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getStuno() {
        return stuno;
    }

    public void setStuno(String stuno) {
        this.stuno = stuno;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }



    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRegistered() {
        return registered;
    }

    public void setRegistered(String registered) {
        this.registered = registered;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public Long getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(Long idnumber) {
        this.idnumber = idnumber;
    }

    public String getPolitics() {
        return politics;
    }

    public void setPolitics(String politics) {
        this.politics = politics;
    }

    public Date getRegdate() {
        return regdate;
    }

    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }
}
